Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update awsconfig #50561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update awsconfig #50561

wants to merge 1 commit into from

Conversation

GavinFrazar
Copy link
Contributor

  • Add a Cache for caching credentials, similar to SDK v1 session cache.
  • Add a Provider interface that provides aws.Config
  • Simplified role chaining options

Unlike our SDK v1 session cache, the SDK v2 implementation in this PR does not include region as a cache key.
There are regional AWS STS endpoints for lower latency calls, but the lowest latency path is to just grab credentials from the cache if we already have them - the region they were originally taken from doesn't matter.

@GavinFrazar GavinFrazar added aws Used for AWS Related Issues. no-changelog Indicates that a PR does not require a changelog entry labels Dec 23, 2024
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/update-awsconfig branch 2 times, most recently from 7b1efbe to 39816e4 Compare December 24, 2024 02:47
* Add a Cache for caching credentials, similar to SDK v1 session cache.
* Add a Provider interface that provides aws.Config
* Simplified role chaining options

Unlike our SDK v1 session cache, the SDK v2 implementation in this PR
does not include region as a cache key.
There are regional AWS STS endpoints for lower latency calls, but the
lowest latency path is to just grab credentials from the cache if we
already have them - the region they were originally taken from doesn't
matter.
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/update-awsconfig branch from 39816e4 to d280bc5 Compare December 24, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Used for AWS Related Issues. no-changelog Indicates that a PR does not require a changelog entry size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant